package com.tim.dao;

import com.tim.pojo.Cell;

import java.sql.SQLException;
import java.util.List;

/**
 * 作者：Tim
 * 时间：2021/4/28 10:39
 */
public interface CellDao {
    int deleteCell(int id) throws SQLException;
    int addCell(Cell cell) throws SQLException;
    Cell selectOne(int id) throws SQLException;
    int updateCell(Cell cell) throws SQLException;
    List<Cell> searchCell(String plotName) throws SQLException;
    List<Cell> limit(Integer currentPage,Integer pageSize,String plotName) throws SQLException;
    int count(String plotName) throws SQLException;
}
